package com.lenovo.lcdm.team.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lenovo.lcdm.team.entity.LoginLog;
import jakarta.servlet.http.HttpServletRequest;

/**
* @author xujing30
* @description 针对表【login_log】的数据库操作Service
* @createDate 2024-03-21 10:52:24
*/
public interface LoginLogService extends IService<LoginLog> {

    /**
     * 记录登录成功日志
     * @param itCode
     */
    void loginSuccessLog(HttpServletRequest request, String itCode);

    /**
     * 记录登录失败日志
     * @param itCode
     */
    void loginFailedLog(HttpServletRequest request, String itCode, String errorMsg);

}
